package com.meisupic.copyright.domain.bo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;

@Data
public class ContractPrototype implements Serializable {

  /**
   * 类型-合同类型
   */
  private Integer contracttype;

  /**
   * 权利范围
   */
  private String rightscope;

  /**
   * 地域范围
   */
  private Integer appearcountry;

  /**
   * 合同期限-自
   */
  private String validdatestart;

  /**
   * 合同期限-至
   */
  private String validdateend;

  /**
   * 申请类型
   */
  private Integer applytype;

  /**
   * 备案
   */
  private String remark;

  /**
   * 委托事项
   */
  private String proxycontent;

  /**
   * 申请人基本信息
   */
  private RegisterPrototype applyer;

  /**
   * 代理人基本信息
   */
  private RegisterPrototype proxy;

  /**
   * 地域范围为其他时的说明
   */
  private String appearcountrymemo;

  /**
   * 附件
   */
  private HttpFile attachment;

  /**
   * 合同转让方
   */
  private PersonInfo contractfrom;

  /**
   * 合同受让方
   */
  private PersonInfo contractto;

  /**
   * 合同关联的作品列表
   */
  private ProductPrototype product;

  private String res_id;

  private String registertype;

  @Data
  public static class RegisterPrototype{

    private String caid;

    private String realname;

    private Integer idcardtype;

    private String idcardno;

    private String address;

    private String zip;

    private String mobile;

    private String email;

    private String phone;

    private String fax;

    private String remark;
  }

  @Data
  public static class HttpFile{

    private List<String> content;

    private List<String> filename;

    private List<String> signdata;
  }

  @Data
  public static class PersonInfo{

    private String caid;

    private String country;

    private String peopletype;

  }

  @Data
  public static class ProductPrototype{

    private String name;

    private String shortname;

    private String registerednum;

    private String res_id;
  }


}
